KimaAI\ChatBot\ChatBot S

Total Complexity 32
Dependencies 9
Dependents 2
Total lines 450
Lines of code 277
Logical lines of code 91
Comment lines 111
Methods 16
Properties 4

Methods 16

Method Rating Maintainability Complexity Lines of code
chatbot()
A
40 8 63
registerRoutes()
S
41 1 75
enqueueAssets()
S
46 2 42
getChatHistory()
S
55 3 20
maybeEnqueueAssets()
S
67 4 8
isShortcodePresent()
S
65 4 9
generateDynamicCss()
S
58 1 15
__construct()
S
63 1 10
chatBotShortCode()
S
74 1 5
placeChatBot()
S
82 1 3
validateNonce()
S
75 1 4
getAllChatHistories()
S
71 1 5
deleteChatHistory()
S
72 1 5
isEnableGlobally()
S
79 1 3
isPreviewEnable()
S
78 1 3
clearChatHistory()
S
68 1 7